#include <stdio.h>
#include "serial.h"


int main()
{
    char c;
    
    uart0_init();
    
    while (1)
    {
        printf("\r\n##### RTC Menu #####\r\n");
        printf("Data format: 'year.month.day w hour:min:sec', 'w' is week day\n\r");
        printf("eg: 2007.08.30 4 01:16:57\n\r");
        printf("[S] Set the RTC\n\r");
        printf("[R] Read the RTC\n\r");
        printf("Enter your selection: ");

        c = getc();
        printf("%c\n\r", c);
    }
    
    return 0;
}
